package com.cyy.dyeing.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: cyy
 * @Date: 2024/7/22
 */
@Mapper
public interface TokenDao {
    /**
     * 查询用户密码
     * @param userId
     * @return
     */
    @Select("select u_pwd from t_user where u_id=#{userId}")
    String findPasswordByUserId(String userId);
}
